package com.app.couponsharelife.ui.main.home.banner
import android.content.Intent
import com.app.couponsharelife.R
import com.app.couponsharelife.base.BaseActivity
import com.app.couponsharelife.ui.main.me.invite.ShareInvitePicActivity
import com.app.couponsharelife.utils.AppUtils
import kotlinx.android.synthetic.main.activity_shareaward.*
/**
 *Created by xct on 2019/1/31
 *Description:分享赢大奖说明页面
 */
class ShareAwardActivity:BaseActivity() {
    override val viewLayoutId: Int
        get() = R.layout.activity_shareaward

    override fun initViews() {
        AppUtils.initImmersionBar(this,true)
        shareaward_llclose.setOnClickListener {
            finish()
        }
        shareaward_but.setOnClickListener {
            startActivity(Intent(this, ShareInvitePicActivity::class.java))
            finish()
        }
    }

    override fun onDestroy() {
        super.onDestroy()
        AppUtils.destroyImmersionBar(this)
    }
}